package com.pcbly.web.persistence.publicinfo;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/
import com.pcbly.web.bean.publicinfo.MessageBean;
import com.pcbly.web.persistence.BaseDao;
import com.pcbly.web.components.hibernate.support.Page;

public interface MessageDao extends BaseDao<MessageBean> {  
	
	void removeMessageBeanByIds(String ids) throws Exception;
	
	void removeMessageBeanById(String id) throws Exception;
	
	MessageBean saveMessageBean(MessageBean publicinfo) throws Exception;
	
	Page<MessageBean>  findMessageBeanByCond(MessageBean bean,
			Page<MessageBean> page, String orderByName, boolean asc)
			throws Exception;
}